package com.glodon.paas.search.model;

/**
 * 来至databag的事件消息.
 * 
 * @author botao.liao
 * 
 */
public class DatabagEvent extends Event {
    private static final long serialVersionUID = 1L;
    private String databagId;
    private EventType eventType;

    public DatabagEvent() {
        super();
    }

    public DatabagEvent(String databagId, EventType eventType) {
        super();
        this.databagId = databagId;
        this.eventType = eventType;
    }

    public String getDatabagId() {
        return databagId;
    }

    public void setDatabagId(String databagId) {
        this.databagId = databagId;
    }

    public EventType getEventType() {
        return eventType;
    }

    public void setEventType(EventType eventType) {
        this.eventType = eventType;
    }

}
